#ifndef __BSP_UART_DEV__
#define __BSP_UART_DEV__

#include "main.h"
#include "usart.h"
#include "stdint.h"
#include "msg_port_core.h"


void 		msg_port_handle(msg_port_t *msg_port);
void 		init_msgport(msg_port_t *msg_port,uint8_t (*check_send_state)(void),void (*uart_write)(uint8_t *str,uint8_t size));
uint8_t log_out(msg_port_t *msg_port,uint8_t *str,uint8_t size);
uint8_t log_level_out(msg_port_t *msg_port,uint8_t *str,uint8_t size,LOG_LEVEL level);


#endif
